Primitive Class Flow.LensFlare
Represents a global lens flare (not to be confused with the lens flare object).
To be used with Flow.Level.lensFlare property.
Members
enabled | (bool) Lens flare enabled state. |
spriteID | (Objects.ObjID.SpriteConstants) Lens flare's sun sprite object ID. |
pitch | (float) Lens flare's pitch (vertical) angle in degrees. |
yaw | (float) Lens flare's yaw (horizontal) angle in degrees. |
color | (Color) Lens flare's color. |
Functions
LensFlare(pitch, yaw, color) | Create a LensFlare object. |
Members
- enabled
- (bool) Lens flare enabled state. If set to true, lens flare will be visible.
- spriteID
- (Objects.ObjID.SpriteConstants) Lens flare's sun sprite object ID.
- pitch
- (float) Lens flare's pitch (vertical) angle in degrees.
- yaw
- (float) Lens flare's yaw (horizontal) angle in degrees.
- color
- (Color) Lens flare's color.
Functions
- LensFlare(pitch, yaw, color)
-
Create a LensFlare object.
Parameters:
- pitch float Pitch angle in degrees.
- yaw float Yaw angle in degrees.
- color Color of the lensflare.
Returns:
-
LensFlare
A new LensFlare object.